package javalearning.MultiThreads.yiekd;

public class ThreadTest {
    public static void main(String[] args) {
        System.out.println("begins");
        ThreadYield t1 = new ThreadYield();
        ThreadYield t2 = new ThreadYield();
//        ThreadJoin t3 = new ThreadJoin();
//        t1.setName("南京");
//        t2.setName("山东");
//        t3.setName("日照");
        t1.start();
        t2.start();
    }
}
